-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.1.3
-
Code
-
Classes
- OptimizeController
Total Complexity |
146 |
Dependencies |
13 |
Dependents |
12 |
Total lines |
1,059 |
Lines of code |
723 |
Logical lines of code |
459 |
Comment lines |
145 |
Methods |
23 |
Properties |
2 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
handleAPIResult() |
D |
25 |
28 |
187 |
calculateStatsTotals() |
C |
37 |
29 |
68 |
processQueue() |
A |
44 |
9 |
49 |
sendToProcessing() |
A |
44 |
9 |
47 |
addItemToQueue() |
A |
40 |
7 |
65 |
queueToJson() |
A |
48 |
9 |
34 |
restoreItem() |
A |
40 |
6 |
62 |
thumbnailsChangedHook() |
A |
49 |
8 |
30 |
numberFormatStats() |
A |
51 |
8 |
29 |
getQueue() |
S |
53 |
6 |
24 |
runTick() |
S |
57 |
4 |
16 |
checkQueueClean() |
S |
64 |
5 |
10 |
convertPNG() |
S |
55 |
3 |
21 |
HandleItemError() |
S |
58 |
2 |
14 |
reOptimizeItem() |
S |
60 |
2 |
13 |
resetQueues() |
S |
66 |
2 |
8 |
uninstallPlugin() |
S |
66 |
2 |
8 |
isItemInQueue() |
S |
65 |
2 |
9 |
getStartupData() |
S |
61 |
1 |
13 |
getAPI() |
S |
81 |
1 |
3 |
getJsonResponse() |
S |
68 |
1 |
8 |
setBulk() |
S |
81 |
1 |
3 |
__construct() |
S |
91 |
1 |
2 |